(grep-compute-defaults): Use null-device
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Apr 2001 14:42:15 +0000 (14:42 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Apr 2001 14:42:15 +0000 (14:42 +0000)
instead of literal /dev/null. Reported by Jens Schmidt
<schmidt@mathematik.uni-kl.de>.

lisp/progmodes/compile.el

index 7bb976d1656f81d563492d091440f506f3cb78de..71978477ee38c8c055924ebcfac6636bd4630d69 100644 (file)
@@ -587,8 +587,8 @@ to a function that generates a unique name."
                       grep-command))
              (grep-find-use-xargs
               (format "find . -type f -print | xargs %s" grep-command))
-             (t (cons (format "find . -type f -exec %s {} /dev/null \\;"
-                              grep-command)
+             (t (cons (format "find . -type f -exec %s {} %s \\;"
+                              grep-command null-device)
                       (+ 22 (length grep-command)))))))
 
 ;;;###autoload